31505a4de66015d9e6d549b0faf54d269f78a928,src/main/java/com/excelsiorjet/maven/plugin/TestRunMojo.java,TestRunMojo,execute,#,76

Before Change


    public void execute() throws MojoExecutionException, MojoFailureException {
        try {
            AbstractLog.setInstance(new MavenLog(getLog()));
            new TestRunTask(new AbstractJetTaskConfig(mainWar, jetHome, project.getPackaging(), mainJar, mainClass, tomcatConfiguration,
                    getArtifacts(), project.getGroupId(), new File(jetOutputDir, BUILD_DIR), project.getBuild().getFinalName(),
                    project.getBasedir(), packageFilesDir, execProfilesDir, execProfilesName, jvmArgs)).
                    execute();
        } catch (ExcelsiorJetApiException e) {
            throw new MojoExecutionException("TestRunMojo execution exception", e);

After Change


                    .setDependencies(getArtifacts())
                    .setGroupId(project .getGroupId())
                    .setBuildDir(new File(jetOutputDir, BUILD_DIR))
                    .setFinalName(project.getBuild().getFinalName())
                    .setBasedir(project.getBasedir())
                    .setPackageFilesDir(packageFilesDir)
                    .setExecProfilesDir(execProfilesDir)
                    .setExecProfilesName(execProfilesName)
                    .setJvmArgs(jvmArgs)
                    .createAbstractJetTaskConfig();
            new TestRunTask(abstractJetTaskConfig). execute();
        } catch (JetTaskFailureException e) {
            throw new MojoExecutionException(e.getMessage());
        }